package com.niiwoo.civet.user.dto.response.organization;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Getter
@Setter
public class OrganizationBaseConfigRespDTO implements Serializable {

    //主键
    private String id;

    //机构信息表id
    private String orgId;

    //授信额度类型：1:每月授信、2:总授信
    private Byte creditType;

    //每月授信额度
    private BigDecimal monthLimit;

    //总授信额度
    private BigDecimal totalLimit;

    //单笔起借额度
    private BigDecimal minLimit;

    //单笔最高额度
    private BigDecimal maxLimit;

    //单日上限额度
    private BigDecimal singleDayMaxLimit;

    //筹款期限
    private Integer fundraisingDeadLine;

    //筹款期限类型：0:天、1:小时
    private Byte fundraisingDeadLineUnit;

    //命中反欺诈是否拒绝 0否 1是
    private Byte isNeedRiskDetect;

    //保证金费率
    private BigDecimal depositRate;

    //提现服务费率t0
    private BigDecimal withdrawRateT0;

    //提现服务费率t1
    private BigDecimal withdrawRateT1;

    //单次提现最高收取
    private BigDecimal withdrawMaxFee;

    //可用余额预警阀值
    private BigDecimal usableBalanceWarning;

    //创建时间
    private Date createTime;

    //创建人id
    private String createManagerId;

    //创建人姓名
    private String createManagerName;

    //修改时间
    private Date updateTime;

    //修改人id
    private String updateManagerId;

    //修改人姓名
    private String updateManagerName;

    //提现服务费收取类型:1：借款人、2：机构、3：你我金融
    private Byte withdrawType;
    
    // 咨询&担保服务费最高费率
    private BigDecimal consultGuaranteeMaxFeeRate;

    //借款用途，多个标题中间用 | 隔开
    private String loanTitle;

    //备注
    private String description;

    //借款费率配置列表
    private List<OrganizationLoanConfigRespDTO> loanConfigs;

    // 非主借人是否可以推标
    private Byte isRecommendProject;

}
